#ifndef EPROPERTIES_H
#define EPROPERTIES_H

#include "Fl_Gel_Tabs.H"
#include <Fl/Fl_Input.H>
#include <Fl/Fl_Value_Input.H>
#include <Fl/Fl_Choice.H>
#include <Fl/Fl_Value_Output.H>
#include <Fl/Fl_Box.H>
#include <Fl/Fl_Counter.H>

#include "ewindow.h"

class EProperties : public Fl_Gel_Tabs
{
    public:
        EProperties(int x,int y,int w,int h);
        virtual ~EProperties();
        Fl_Counter *haritagonder();
        Fl_Counter *odagonder();
        Fl_Value_Input *coordxgonder();
        Fl_Value_Input *coordygonder();
        Fl_Value_Input *yongonder();
        Fl_Input *npcisimgonder();
        Fl_Counter * npcresimgonder();
        Fl_Value_Input *genisgonder();
        Fl_Value_Input *yuksekgonder();
        Fl_Value_Input *solgonder();
        Fl_Value_Input *ustgonder();
        Fl_Value_Output *ToplamSorugonder();
        Fl_Value_Input *ToplamZamangonder();
        Fl_Value_Input *odulgonder();
        Fl_Value_Input *cezagonder();
        Fl_Value_Input *barajgonder();

        ///ozellik

        Fl_Value_Output *xxgonder();
        Fl_Value_Output *yygonder();
        Fl_Value_Output *genislikgonder();
        Fl_Value_Output *yukseklikgonder();
        Fl_Value_Input *fmavigonder();
        Fl_Value_Input *fyesilgonder();
        Fl_Value_Input *fkirmizigonder();
        Fl_Value_Input *bmavigonder();
        Fl_Value_Input *byesilgonder();
        Fl_Value_Input *bkirmizigonder();
        Fl_Choice *yataygonder();
        Fl_Choice *dikeygonder();
        Fl_Choice *fontgonder();
        Fl_Input *metingonder();
        Fl_Value_Input *hizgonder();
        ///event
        static void fmaviEvent_CB(Fl_Widget *p, void *userdata);
        void fmaviEvent_CB2();
        static void fyesilEvent_CB(Fl_Widget *p, void *userdata);
        void fyesilEvent_CB2();
        static void fkirmiziEvent_CB(Fl_Widget *p, void *userdata);
        void fkirmiziEvent_CB2();
        static void bmaviEvent_CB(Fl_Widget *p, void *userdata);
        void bmaviEvent_CB2();
        static void byesilEvent_CB(Fl_Widget *p, void *userdata);
        void byesilEvent_CB2();
        static void bkirmiziEvent_CB(Fl_Widget *p, void *userdata);
        void bkirmiziEvent_CB2();
        static void yatayEvent_CB(Fl_Widget *p, void *userdata);
        void yatayEvent_CB2();
        static void dikeyEvent_CB(Fl_Widget *p, void *userdata);
        void dikeyEvent_CB2();
        static void fontEvent_CB(Fl_Widget *p, void *userdata);
        void fontEvent_CB2();
        static void metinEvent_CB(Fl_Widget *p, void *userdata);
        void metinEvent_CB2();
        static void hizEvent_CB(Fl_Widget *p, void *userdata);
        void hizEvent_CB2();
    protected:
    private:
        Fl_Group *genel;
            Fl_Counter *harita;
            Fl_Counter *oda;
            Fl_Value_Input *coordx;
            Fl_Value_Input *coordy;
            Fl_Value_Input *yon;
            Fl_Input *npcisim;
            Fl_Counter *npcresim;
        Fl_Group *pencere;
            Fl_Value_Input *genis;
            Fl_Value_Input *yuksek;
            Fl_Value_Input *sol;
            Fl_Value_Input *ust;
            Fl_Value_Output *ToplamSoru;
            Fl_Value_Input *ToplamZaman;
            Fl_Value_Input *odul;
            Fl_Value_Input *ceza;
            Fl_Value_Input *baraj;
        Fl_Group *ozellik;
            Fl_Value_Output *xx;
            Fl_Value_Output *yy;
            Fl_Value_Output *genislik;
            Fl_Value_Output *yukseklik;
            Fl_Value_Input *fmavi;
            Fl_Value_Input *fyesil;
            Fl_Value_Input *fkirmizi;
            Fl_Value_Input *bmavi;
            Fl_Value_Input *byesil;
            Fl_Value_Input *bkirmizi;
            Fl_Value_Input *hiz;
            Fl_Choice *yatay;
            Fl_Choice *dikey;
            Fl_Choice *font;
            Fl_Input *metin;
};

#endif // EPROPERTIES_H
